package net.lcheng.service;

import net.lcheng.commons.utils.PageList;
import net.lcheng.model.PCategoryAttributeValue;

/**
 * Created by LV on 2016/6/27.
 */
public interface CategoryAttributeValService {
    //添加分类属性值
    int addCategoryAttributeVal(PCategoryAttributeValue pCategoryAttributeValue);

    //查找制定属性的属性值
    PageList<PCategoryAttributeValue> findAllCategoryAttributeValue(String attributeId,int pageIndex,int pageSize);

    //由主键查询当前属性值
    PCategoryAttributeValue findCategoryAttributeValByPrimaryKey(String attributeValId);

    //修改当前属性值
    int updateCategoryAttributeValByPrimaryKey(PCategoryAttributeValue attributeValue);

    //删除当前属性值
    int deleteCategoryAttributeValByPrimaryKey(String attributeValId);
}
